package com.exam.system.service.impl;

import com.exam.system.dao.ExamUserDao;
import com.exam.system.entity.ExamUser;
import com.exam.system.redis.RedisUtils;
import com.exam.system.service.ExamUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @ClassName ExamUserServiceImpl
 * @Description 用户service层
 * @Author ckl
 * @DATE 2021/5/30 17:54
 * @versions 1.0
 */
@Service
@Transactional
public class ExamUserServiceImpl implements ExamUserService {
    @Autowired
    private ExamUserDao examUserDao;
    @Autowired
    private RedisUtils redisUtils;

    @Override
    public ExamUser login(String account) {
        return examUserDao.login(account);
    }
}
